package com.bean;

public class Admin {
    private Integer id;         //管理员id
    private String adminname;   //管理员姓名
    private String adminpassword;//管理员密码
    private String adminemail;//管理员邮箱
    private String adminPhone;//管理员电话
    private String adminpic;//添加路径
    private Integer iroleId;//角色ID

    public Admin() {
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", adminname='" + adminname + '\'' +
                ", adminpassword='" + adminpassword + '\'' +
                ", adminemail='" + adminemail + '\'' +
                ", adminPhone='" + adminPhone + '\'' +
                ", adminpic='" + adminpic + '\'' +
                ", IroleId=" + iroleId +
                '}';
    }

    public Admin(Integer id, String adminname, String adminpassword, String adminemail, String adminPhone, String adminpic, Integer iroleId) {
        this.id = id;
        this.adminname = adminname;
        this.adminpassword = adminpassword;
        this.adminemail = adminemail;
        this.adminPhone = adminPhone;
        this.adminpic = adminpic;
        this.iroleId = iroleId;
    }

    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }

    public String getAdminname() {
        return adminname;
    }

    public void setAdminname(String adminname) {
        this.adminname = adminname;
    }

    public String getAdminpassword() {
        return adminpassword;
    }

    public void setAdminpassword(String adminpassword) {
        this.adminpassword = adminpassword;
    }

    public String getAdminemail() {
        return adminemail;
    }

    public void setAdminemail(String adminemail) {
        this.adminemail = adminemail;
    }

    public String getAdminPhone() {
        return adminPhone;
    }

    public void setAdminPhone(String adminPhone) {
        this.adminPhone = adminPhone;
    }

    public String getAdminpic() {
        return adminpic;
    }

    public void setAdminpic(String adminpic) {
        this.adminpic = adminpic;
    }

    public Integer getIroleId() {
        return iroleId;
    }

    public void setIroleId(Integer iroleId) {
        this.iroleId = iroleId;
    }
}
